package top.soulblack.purchasesale.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import top.soulblack.purchasesale.model.WechatNav;

import java.util.List;

@Mapper
@Component
public interface WechatNavMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WechatNav record);

    WechatNav selectByPrimaryKey(Integer id);

    List<WechatNav> selectAll();

    List<WechatNav> selectByPid(Integer pid);

    List<WechatNav> selectPerloadPage();

    int updateByPrimaryKey(WechatNav record);
}